package com.java.innerClass;

public class LocalInnerClass {
	private String local = "hello ";

	public void hello(){
		final String str = "world";
		//无权限修饰符
		class Apple{
			public String toString(){
				System.out.print(local);
				return str;
			}
		}
		//方法里面定义，方法里面使用
		System.out.println(new Apple().toString());
	}

}
